package com.huawei.crm.query;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class QueryObject {

    private int currentPage = 1;
    private int pageSize = 5;

    public int getBeginIndex(){

        return (currentPage -1) * pageSize;
    }
}
